import { createApp } from 'vue'
import App from './App.vue'
import './index.css'
import router from './router'
import store from './store'

const app = createApp(App)

app.directive('my-directive',{
    beforeMount(el){
        el.style.color = 'blue'
    },
    mounted(el){
        el.focus()
    },
    beforeUpdate(){},
    updated(){},
    beforeUnmount(){},
    unmounted(){}
})

app.use(router).use(store).mount('#app')
